package com.luoyang.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;

@Data
@TableName("bus_region")
public class BusRegionCoreEntity {
    private static final long serialVersionUID = -1L;

    /**
     * id
     */
    @TableId
    private Long id;
    /**
     * 边对应guid (t_tunnel.id)
     */
    private String regionId;
    /**
     * 起点x
     */
    private BigDecimal startX;
    /**
     * 起点y
     */
    private BigDecimal startY;
    /**
     * 终点x
     */
    private BigDecimal endX;
    /**
     * 终点y
     */
    private BigDecimal endY;
    /**
     * 起点
     */
    private Integer source;
    /**
     * 终点
     */
    private Integer target;
    /**
     * 权重
     */
    private Double cost;
    /**
     * 边名称
     */
    private String regionName;
}
